package com.jims.master.modules.tj.service; /**
 * jims
 */

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.tj.dao.TjHzAbnorDao;
import com.jims.master.modules.tj.entity.TjHzAbnor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * 体检总检Service
 * @author ct
 * @version 2018-05-05
 */
@Service
@Transactional(readOnly = true)
public class TjHzAbnorService extends CrudService<TjHzAbnorDao, TjHzAbnor> {

	public TjHzAbnor get(String id) {
		return super.get(id);
	}
	
	public List<TjHzAbnor> findList(TjHzAbnor tjHzAbnor) {
		return super.findList(tjHzAbnor);
	}
	
	public Page<TjHzAbnor> findPage(Page<TjHzAbnor> page, TjHzAbnor tjHzAbnor) {
		return super.findPage(page, tjHzAbnor);
	}
	
	@Transactional(readOnly = false)
	public int save(TjHzAbnor tjHzAbnor) {
		return super.save(tjHzAbnor);
	}
	
	@Transactional(readOnly = false)
	public int delete(TjHzAbnor tjHzAbnor) {
		return super.delete(tjHzAbnor);
	}
	
}